package com.nxn.core.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_state")
public class State extends IdEntity {

	private String stateAbbr;
	private String stateName;

	public State(String stateAbbr, String stateName) {
		this.stateAbbr = stateAbbr;
		this.stateName = stateName;
	}

	@Column(name = "stateAbbr")
	public String getStateAbbr() {
		return stateAbbr;
	}
	
	@Column(name = "stateName")
	public String getStateName() {
		return stateName;
	}
	
	public void setStateAbbr(String stateAbbr) {
		this.stateAbbr = stateAbbr;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}


}
